﻿<!doctype html>
<html>
<head>
    <title>Home</title>
    <script src="//code.jquery.com/jquery-1.11.0.min.js"></script>

</head>
<body>

    <h2>Editar empresa</h2>



    <form method="post" id="formularioEditarEmpresa">
        <table>
            <thead>
            </thead>
            <tbody>
                <tr>
                    <td>
                        <input type="text" hidden="hidden" value="@Model.id" id="id"/>
                    </td>
                </tr>

                <tr>
                    <td><span>Nombre:</span></td>
                    <td>
                        <input type="text" maxlength="50" name="nombre" id="nombre" value="@Model.Nombre" /></td>
                </tr>
                <tr>
                    <td><span>Codigo:</span></td>
                    <td>
                        <input type="text" maxlength="3" name="codigo" id="codigo" value="@Model.Codigo" /></td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <input type="submit" value="Guardar" class="btnVerde" />
                        <a href="@Url.Action("Index", "Empresa")" >
                            <input type="button" value="Cancelar" class="btnAzul" />
                        </a>

                    </td>
                </tr>
            </tbody>
            <tfoot>
            </tfoot>
        </table>

    </form>



    <br />
    <br />

    <p id="parrafoAdvertencia">&nbsp;</p>

    <br />
    <br />iii

    <a href="@Url.Action("Index","Empresa")">Atras</a>

    <script src="~/Content/AdmEmpresasDestinos/scripts/scriptEmpresaEditar.js"></script>
    <script type="text/javascript">
        var urls = {};
        urls.editarEmpresa = "@Url.Action("EditarEmpresa", "Empresa")"; 
    </script>



</body>
</html>
